package com.wanxi.arr;

public class SumOuShu {
    public static void main(String[] args) {
        int[] arr = {1, 2332, 43, 54, 645, 6, 57, 678, 6};
        int sum = 0;
        for (int i = 0; i < arr.length; i++)
            if (arr[i] % 2 == 0)
                sum += arr[i];


        System.out.println(sum);
    }
}
